<header id="header">
    <nav class="container">
        <div class="logo hidden-sm">
            <a href="/index/index" class="d-block">
                <img src="/static/index/img/gsq.png" alt="">
            </a>
        </div>
        <div class="mobile-logo show-sm">
            <a href="/index/index" class="d-inline-block">
                <img src="/static/index/img/gsq.png" alt="">
            </a>
        </div>
        <div class="header-menu-wrap clear">
            <ul id="menu-%e5%af%bc%e8%88%aa%e8%8f%9c%e5%8d%95" class="header-menu">
                <li id="menu-item-52" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-52">
                    <a href="/index/index/">论坛首页</a>
                </li>
                <li id="menu-item-52" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-52">
                    <a href="/index/index/">我的博客</a>
                </li>
            </ul>
            </div>
            <div class="admin-login hidden-sm">
                {if condition="$userinfo eq null"}
                    <a href="/index/login" class="btn-line btn-line-geek">登录</a>
                    <a href="/index/login/zhuce" class="btn-line btn-line-geek">注册</a>
                {else/}
                    <a href="/index/post/dzhpost" class="btn-line btn-line-geek">发表文章</a>
                    <a href="/index/user/index/id/{$userinfo['id']}" class="btn-line btn-line-geek">个人中心</a>
                    <a href="/index/login/out" class="btn-line btn-line-geek">退出账号</a>
                {/if}
            </div>
        <div class="search-button cursor-pointer">
            <i class="czs-search-l"></i>
            <span class="d-inline-block transition opacity-0"><i class="czs-close-l"></i></span>
        </div>
        <div class="menu-button">
            <div class="nav-bar">
                <span></span>
                <span></span>
                <span></span>
            </div>
        </div>
    </nav>
    <div class="menu-wrap show-xs">
        <div class="mobile-menu">
            <ul id="menu-%e5%af%bc%e8%88%aa%e8%8f%9c%e5%8d%95-1" class="mobile-menu-nav">
            {volist name="channel" id="v" }
                <li class="menu-item menu-item-type-custom menu-item-object-custom menu-item-has-children menu-item-51"><a href="#">{$v.Name}</a>
                </li>
            {/volist}
            </ul>
        </div>
        <div class="mobile-admin-login text-center mt-3">
            {if condition="$userinfo eq null"}
                <a href="/index/login" class="btn-line btn-line-geek">登录</a>
                <a href="/index/login/zhuce" class="btn-line btn-line-geek">注册</a>
            {else/}
                <a href="/index/post/dzhpost" class="btn-line btn-line-geek">发表文章</a>
                <a href="/index/user" class="btn-line btn-line-geek">个人中心</a>
                <a href="/index/user" class="btn-line btn-line-geek">退出账号</a>
            {/if}
        </div>
    </div>
</header>
<div class="search-wrap transition">
    <div class="container">
        <div class="row">
            <form role="search" method="get" action="http://heitang.chuangzaoshi.com/" class="header-search">
                <input data-url="Q0JPT0I=" type="search" name="s" title="Search" placeholder="搜索..." value="">
            </form>
        </div>
    </div>
</div>


<script>
     $('img').error(function(){
            $(this).attr('src', "/static/index/img/logo.gif");
         });
      function motai(data){
        $.notify({
          title: "提示: ",
          message: data ,
          icon: 'fa fa-check' 
        },{
          type: "info"
        });
      }

</script>
